﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_Flow_UpdateStyle_V2]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_Flow_UpdateStyle_V2];
GO
CREATE PROCEDURE [dbo].[sproc_Flow_UpdateStyle_V2]
    @StyleID     int,
    @StyleName   nvarchar(64),
    @StyleRemark nvarchar(max),
    @Teamplate   nvarchar(256)
AS
BEGIN
SET NOCOUNT ON;

UPDATE dbo.UDS_Flow_Style
    SET
        Style_name = @StyleName,
        Style_remark = @StyleRemark,
        Template = @Teamplate
    WHERE
        Style_ID = @StyleID

RETURN 0;

END
GO